home *** CD-ROM | disk | FTP | other *** search
- property tix, tixV, zP, mmV, horseSprite, Counter
- global gmObject
-
- on beginSprite me
- gmObject.backCounter = 30
- Counter = 0
- horseSprite = gmObject.horseSprites[3]
- tixV = 4
- tix = the ticks + tixV
- end
-
- on exitFrame me
- Counter = Counter + 1
- if Counter > 20 then
- gmObject.goBack()
- Counter = 0
- end if
- if (gmObject.stopSprite = gmObject.riverSprite) or (gmObject.stopSprite = gmObject.fenceSprite) then
- if gmObject.overAllSpeed = 1 then
- sound(1).play(member("wet", 1))
- updateStage()
- else
- sound(1).play(member("singapore", 1))
- updateStage()
- end if
- repeat while soundBusy(1)
- end repeat
- go("end" & string(gmObject.overAllSpeed))
- end if
- go(the frame)
- end
-
- on idle
- if the keyDownScript = EMPTY then
- zP = horseSprite.locH
- if the ticks > tix then
- mmV = (the mouseH - zP) / 15
- gmObject.mouseHX(mmV)
- tix = the ticks + tixV
- end if
- end if
- end
-